package photogcalc.calculators;

import javax.microedition.lcdui.Screen;
import photogcalc.ChildFormListener;

/**
 *
 * @author aokkonen
 */
public abstract class CalculatorController {
    private ChildFormListener listener;

    public CalculatorController(ChildFormListener listener) {
        this.listener = listener;
    }
    
    public void backCommand() {
        listener.signalExit();
    }

    public abstract String getIconPrefix();
    public abstract String getMenuName();
    public abstract Screen getScreen();
    public abstract void refreshScreen();
}
